package Strategy;

/**
 * @Author zhangjinxi
 * @Date: Created in 15:59 2018/2/28
 * @Description:
 */
public class StrategyTest {

    public static void main(String[] args) {
        String exp = "2+8";
        ICalculator calc = new Plus();
        int result = calc.calculate(exp);

        System.out.println(result);
    }

}
